PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.shadings Package / PDFAxialShading Class / setFunction Method
A 1-in, n-out function, where n is the number of color components in the shading's color space.
In This Topic
    setFunction Method
    In This Topic
    Sets the shading function.
    Syntax
    public void setFunction( 
       PDFFunction function
    )

    Parameters

    function
    A 1-in, n-out function, where n is the number of color components in the shading's color space.
    Exceptions
    ExceptionDescription
    when the function is null
    See Also